package com.zhejiangzhengyuan.municipal_common.service;

import javax.servlet.http.HttpServletRequest;

/**
 * @author lin_ju
 * @since  on 2019/11/25
 */

public interface ManholeCoverApplicationService {
    /**
     * 设备是否在线
     *
     * @param request 请求集
     * @throws Exception 可能会在http处理中抛出异常
     */
    void isOnline(HttpServletRequest request,String deviceType)
            throws Exception;


    /**
     * 设备指令结果
     *
     * @param request 请求集
     * @param deviceType 设备类型用于判断module
     * @throws Exception 可能会在http处理中抛出异常
     */
    void fromDeviceResult(HttpServletRequest request,String deviceType) throws Exception;
}
